<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>带有一个参数的执行一个函数，参数传递在函数名的后面</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.w32api-init-dtype.html">w32api_init_dtype</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.w32api-register-function.html">w32api_register_function</a></div>
 <div class="up"><a href="ref.w32api.html">W32api 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="function.w32api-invoke-function" class="refentry">
   <div class="refnamediv">
    <h1 class="refname">w32api_invoke_function</h1>
    <p class="verinfo">(PHP 4 &gt;= 4.2.0)</p><p class="refpurpose"><span class="refname">w32api_invoke_function</span> &mdash; <span class="dc-title">带有一个参数的执行一个函数，参数传递在函数名的后面</span></p>

   </div>
 <div class="refsect1 description" id="refsect1-function.w32api-invoke-function-description">
  <h3 class="title">说明</h3>
    <div class="methodsynopsis dc-description">
     <span class="type"><a href="language.pseudo-types.html#language.types.mixed" class="type mixed">mixed</a></span> <span class="methodname"><strong>w32api_invoke_function</strong></span>
      ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$funcname</code></span>
     , <span class="methodparam"><span class="type"><a href="language.pseudo-types.html#language.types.mixed" class="type mixed">mixed</a></span> <code class="parameter">$argument</code></span>
     [, <span class="methodparam"><span class="type"><a href="language.pseudo-types.html#language.types.mixed" class="type mixed">mixed</a></span> <code class="parameter">$...</code></span>
    ] )</div>

    <div class="warning"><strong class="warning">Warning</strong><p class="simpara">此函数是<em class="emphasis">实验性</em>的。此函数的表象，包括名称及其相关文档都可能在未来的
PHP 发布版本中未通知就被修改。使用本函数风险自担 。</p></div>
    <p class="para">
     <span class="function"><strong>w32api_invoke_function()</strong></span>
     尝试查找一个注册为私有的函数，名为 <em><code class="parameter">funcname</code></em>
     的函数，需要提供传递的参数。返回的类型是你在注册函数时指定的，值则是由函数自身返回的。任何参数的类型可以是
     PHP 类型，如果需要还可以使用 <span class="function"><a href="function.w32api-deftype.html" class="function">w32api_deftype()</a></span> 函数定义。
    </p>
   </div>


 <div class="refsect1 parameters" id="refsect1-function.w32api-invoke-function-parameters">
  <h3 class="title">参数</h3>
  <p class="para">
   <dl>

    
     <dt>
<em><code class="parameter">funcname</code></em></dt>

     <dd>

      <p class="para">
       The function name.
      </p>
     </dd>

    
    
     <dt>
<em><code class="parameter">argument</code></em></dt>

     <dd>

      <p class="para">
       Any of the arguments can be of any PHP type or
       <span class="function"><a href="function.w32api-deftype.html" class="function">w32api_deftype()</a></span> defined type, as needed.
      </p>
     </dd>

    
    
     <dt>
<em><code class="parameter">...</code></em></dt>

     <dd>

      <p class="para">
      </p>
     </dd>

    
   </dl>

  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.w32api-invoke-function-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   The return type is the one you set when you registered the function, the
   value is the one returned by the function itself.
  </p>
 </div>


 <div class="refsect1 notes" id="refsect1-function.w32api-invoke-function-notes">
  <h3 class="title">注释</h3>
  <div class="warning"><strong class="warning">Warning</strong><p class="simpara">此函数是<em class="emphasis">实验性</em>的。此函数的表象，包括名称及其相关文档都可能在未来的
PHP 发布版本中未通知就被修改。使用本函数风险自担 。</p></div>
 </div>

  </div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.w32api-init-dtype.html">w32api_init_dtype</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.w32api-register-function.html">w32api_register_function</a></div>
 <div class="up"><a href="ref.w32api.html">W32api 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
